package cn.smbms.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.smbms.bean.model.FunctionAuthority;

public interface IFunctionAuthorityBiz {
	//根据用户名模糊查询用户信息
	public List<FunctionAuthority> getFunctionAuthorityByName(@Param("name")String name);
	//添加用户
	public int add(FunctionAuthority functionAuthority);
	//根据用户帐号查询用户信息
	public FunctionAuthority findFunctionAuthorityByName(@Param("name")String name);
	//更新用户信息
	public int update(FunctionAuthority functionAuthority);
	//删除用户信息
	public int delete(@Param("name")String name);
}
